Get size of Objects in Python